package com.lzy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzy.entity.Student;
import com.lzy.vo.StudentWithClassVO;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-04-25
 */
public interface IStudentService extends IService<Student> {

    List<Student> getAll();

    IPage getPage(Page<StudentWithClassVO> page, HashMap param);

    boolean createStudent(Student student);

    boolean updateStudent(Student student);

    boolean delStudent(Integer id);
}
